<!DOCTYPE html>
<html lang="en">
  <head>
    <title>Structures  Reference</title>
    <link rel="stylesheet" type="text/css" href="css/jazzy.css" />
    <link rel="stylesheet" type="text/css" href="css/highlight.css" />
    <meta charset='utf-8'>
	<meta name="viewport" content="width=device-width, viewport-fit=cover, initial-scale=1.0" />
    <script src="js/jquery.min.js" defer></script>
    <script src="js/jazzy.js" defer></script>
    
  </head>
  <body>
    <a name="//apple_ref/swift/Section/Structures" class="dashAnchor"></a>
    <a title="Structures  Reference"></a>
    <header>
      <div class="content-wrapper">
        <p>
          <a href="index.html">PostgresClientKit Docs</a>
          <span class="no-mobile"> (100% documented)</span>
        </p>
    
        <p class="header-right">
          <a href="https://github.com/codewinsdotcom/PostgresClientKit">
            <img src="img/gh.png"/>
            <span class="no-mobile">View on GitHub</span>
          </a>
        </p>
    
      </div>
    </header>
    <div id="breadcrumbs-container">
      <div class="content-wrapper">
        <p id="breadcrumbs">
          <span class="no-mobile">
            <a href="index.html">PostgresClientKit Reference</a>
            <img id="carat" src="img/carat.png" />
          </span>
          Structures  Reference
        </p>
      </div>
    </div>
    <div class="wrapper">
      <div class="article-wrapper">
        <article class="main-content">
          <section>
            <section class="section">
              <h1>Structures</h1>
              <p>The following structures are available globally.</p>

            </section>
            <section class="section task-group-section">
              <div class="task-group">
                <ul>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit14ColumnMetadataV"></a>
                      <a name="//apple_ref/swift/Struct/ColumnMetadata" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit14ColumnMetadataV">ColumnMetadata</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>Metadata about a column in the results of executing a <code><a href="Classes/Statement.html">Statement</a></code>.</p>

                          <a href="Structs/ColumnMetadata.html" class="slightly-smaller">See more</a>
                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">struct</span> <span class="kt">ColumnMetadata</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit23ConnectionConfigurationV"></a>
                      <a name="//apple_ref/swift/Struct/ConnectionConfiguration" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit23ConnectionConfigurationV">ConnectionConfiguration</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>The configuration for a <code><a href="Classes/Connection.html">Connection</a></code> to the Postgres server.</p>

                          <a href="Structs/ConnectionConfiguration.html" class="slightly-smaller">See more</a>
                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">struct</span> <span class="kt">ConnectionConfiguration</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit27ConnectionPoolConfigurationV"></a>
                      <a name="//apple_ref/swift/Struct/ConnectionPoolConfiguration" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit27ConnectionPoolConfigurationV">ConnectionPoolConfiguration</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>The configuration of a <code><a href="Classes/ConnectionPool.html">ConnectionPool</a></code>.</p>

                          <a href="Structs/ConnectionPoolConfiguration.html" class="slightly-smaller">See more</a>
                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">struct</span> <span class="kt">ConnectionPoolConfiguration</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit21ConnectionPoolMetricsV"></a>
                      <a name="//apple_ref/swift/Struct/ConnectionPoolMetrics" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit21ConnectionPoolMetricsV">ConnectionPoolMetrics</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>Performance metrics for a <code><a href="Classes/ConnectionPool.html">ConnectionPool</a></code>.</p>
<div class="aside aside-see-also">
    <p class="aside-title">See also</p>
    <code><a href="Classes/ConnectionPool.html#/s:17PostgresClientKit14ConnectionPoolC14computeMetrics5resetAA0deG0VSb_tF">ConnectionPool.computeMetrics(reset:)</a></code>

</div>

                          <a href="Structs/ConnectionPoolMetrics.html" class="slightly-smaller">See more</a>
                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">struct</span> <span class="kt">ConnectionPoolMetrics</span> <span class="p">:</span> <span class="kt">CustomStringConvertible</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit9LogRecordV"></a>
                      <a name="//apple_ref/swift/Struct/LogRecord" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit9LogRecordV">LogRecord</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>Describes an event to be logged.</p>

                          <a href="Structs/LogRecord.html" class="slightly-smaller">See more</a>
                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">struct</span> <span class="kt">LogRecord</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit6NoticeV"></a>
                      <a name="//apple_ref/swift/Struct/Notice" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit6NoticeV">Notice</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>A notice received from the Postgres server.</p>

                          <a href="Structs/Notice.html" class="slightly-smaller">See more</a>
                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">struct</span> <span class="kt">Notice</span> <span class="p">:</span> <span class="kt">CustomStringConvertible</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit0A0V"></a>
                      <a name="//apple_ref/swift/Struct/Postgres" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit0A0V">Postgres</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>A namespace for properties and methods used throughout PostgresClientKit.</p>

                          <a href="Structs/Postgres.html" class="slightly-smaller">See more</a>
                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">struct</span> <span class="kt">Postgres</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit0A5ByteAV"></a>
                      <a name="//apple_ref/swift/Struct/PostgresByteA" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit0A5ByteAV">PostgresByteA</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>Represents a Postgres <code>BYTEA</code> value (a byte array).</p>

                          <a href="Structs/PostgresByteA.html" class="slightly-smaller">See more</a>
                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">struct</span> <span class="kt">PostgresByteA</span><span class="p">:</span>
    <span class="kt"><a href="Protocols/PostgresValueConvertible.html">PostgresValueConvertible</a></span><span class="p">,</span> <span class="kt">Equatable</span><span class="p">,</span> <span class="kt">Decodable</span><span class="p">,</span> <span class="kt">CustomStringConvertible</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit0A4DateV"></a>
                      <a name="//apple_ref/swift/Struct/PostgresDate" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit0A4DateV">PostgresDate</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>Represents a Postgres <code>DATE</code> value, which consists of the following components:</p>

<ul>
<li>year</li>
<li>month</li>
<li>day</li>
</ul>

<p>For example, <code>2019-03-14</code>.</p>

                          <a href="Structs/PostgresDate.html" class="slightly-smaller">See more</a>
                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">struct</span> <span class="kt">PostgresDate</span><span class="p">:</span>
    <span class="kt"><a href="Protocols/PostgresValueConvertible.html">PostgresValueConvertible</a></span><span class="p">,</span> <span class="kt">Equatable</span><span class="p">,</span> <span class="kt">Decodable</span><span class="p">,</span> <span class="kt">CustomStringConvertible</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit0A4TimeV"></a>
                      <a name="//apple_ref/swift/Struct/PostgresTime" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit0A4TimeV">PostgresTime</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>Represents a Postgres <code>TIME</code> value, which consists of the following components:</p>

<ul>
<li>hour</li>
<li>minute</li>
<li>seconds (and fractional seconds)</li>
</ul>

<p>For example, <code>16:25:19.365</code>.</p>

<p>Like Foundation <code>DateComponents</code>, PostgresClientKit records fractional seconds in nanoseconds.
However, <a href="https://stackoverflow.com/questions/23684727">due to a bug</a> in the Foundation
<code>DateFormatter</code> class, only 3 fractional digits are preserved (millisecond resolution) in
values sent to and received from the Postgres server.</p>

                          <a href="Structs/PostgresTime.html" class="slightly-smaller">See more</a>
                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">struct</span> <span class="kt">PostgresTime</span><span class="p">:</span>
    <span class="kt"><a href="Protocols/PostgresValueConvertible.html">PostgresValueConvertible</a></span><span class="p">,</span> <span class="kt">Equatable</span><span class="p">,</span> <span class="kt">Decodable</span><span class="p">,</span> <span class="kt">CustomStringConvertible</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit0a8TimeWithD4ZoneV"></a>
                      <a name="//apple_ref/swift/Struct/PostgresTimeWithTimeZone" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit0a8TimeWithD4ZoneV">PostgresTimeWithTimeZone</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>Represents a Postgres <code>TIME WITH TIME ZONE</code> value, which consists of the following components:</p>

<ul>
<li>hour</li>
<li>minute</li>
<li>seconds (and fractional seconds)</li>
<li>time zone (expressed as an offset from UTC/GMT)</li>
</ul>

<p>For example, <code>20:10:05.128-07:00</code>.</p>

<p>Unlike <code>TIMESTAMP WITH TIME ZONE</code>, a <code>TIME WITH TIME ZONE</code> value is not normalized to UTC/GMT;
the time zone in which it is specified is preserved.</p>

<p>Like Foundation <code>DateComponents</code>, PostgresClientKit records fractional seconds in nanoseconds.
However, <a href="https://stackoverflow.com/questions/23684727">due to a bug</a> in the Foundation
<code>DateFormatter</code> class, only 3 fractional digits are preserved (millisecond resolution) in
values sent to and received from the Postgres server.</p>

                          <a href="Structs/PostgresTimeWithTimeZone.html" class="slightly-smaller">See more</a>
                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">struct</span> <span class="kt">PostgresTimeWithTimeZone</span><span class="p">:</span>
    <span class="kt"><a href="Protocols/PostgresValueConvertible.html">PostgresValueConvertible</a></span><span class="p">,</span> <span class="kt">Equatable</span><span class="p">,</span> <span class="kt">Decodable</span><span class="p">,</span> <span class="kt">CustomStringConvertible</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit0A9TimestampV"></a>
                      <a name="//apple_ref/swift/Struct/PostgresTimestamp" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit0A9TimestampV">PostgresTimestamp</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>Represents a Postgres <code>TIMESTAMP</code> value, which consists of the following components:</p>

<ul>
<li>year</li>
<li>month</li>
<li>day</li>
<li>hour</li>
<li>minute</li>
<li>seconds (and fractional seconds)</li>
</ul>

<p>For example, <code>2019-03-14 16:25:19.365</code>.</p>

<p>Unlike <code>TIMESTAMP WITH TIME ZONE</code>, a <code>TIMESTAMP</code> value does not have a time zone component.
Consequently, it does not, by itself, represent a specific moment in time.  For example, if
two persons in different time zones wished to schedule a telephone call, the call&rsquo;s starting
time could not be unambiguously recorded by a <code>TIMESTAMP</code> value because it would not indicate
in which time zone the date and time components are to be interpreted.</p>

<p>(For this reason, <code>TIMESTAMP WITH TIME ZONE</code> is often a more useful data type.  See
<code><a href="Structs/PostgresTimestampWithTimeZone.html">PostgresTimestampWithTimeZone</a></code>.)</p>

<p>Like Foundation <code>DateComponents</code>, PostgresClientKit records fractional seconds in nanoseconds.
However, <a href="https://stackoverflow.com/questions/23684727">due to a bug</a> in the Foundation
<code>DateFormatter</code> class, only 3 fractional digits are preserved (millisecond resolution) in
values sent to and received from the Postgres server.</p>

                          <a href="Structs/PostgresTimestamp.html" class="slightly-smaller">See more</a>
                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">struct</span> <span class="kt">PostgresTimestamp</span><span class="p">:</span>
    <span class="kt"><a href="Protocols/PostgresValueConvertible.html">PostgresValueConvertible</a></span><span class="p">,</span> <span class="kt">Equatable</span><span class="p">,</span> <span class="kt">Decodable</span><span class="p">,</span> <span class="kt">CustomStringConvertible</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit0A21TimestampWithTimeZoneV"></a>
                      <a name="//apple_ref/swift/Struct/PostgresTimestampWithTimeZone" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit0A21TimestampWithTimeZoneV">PostgresTimestampWithTimeZone</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>Represents a Postgres <code>TIMESTAMP WITH TIME ZONE</code> value, which consists of the following
components:</p>

<ul>
<li>year</li>
<li>month</li>
<li>day</li>
<li>hour</li>
<li>minute</li>
<li>seconds (and fractional seconds)</li>
<li>time zone (expressed as an offset from UTC/GMT)</li>
</ul>

<p>For example, <code>2019-03-14 16:25:19.365+00:00</code>.</p>

<p>Like Postgres itself, PostgresClientKit normalizes <code>TIMESTAMP WITH TIME ZONE</code> values by
converting them to UTC/GMT.  The values are thus simply moments in time and representable
by Foundation <code>Date</code> instances.</p>

<p>Like Foundation <code>DateComponents</code>, PostgresClientKit records fractional seconds in nanoseconds.
However, <a href="https://stackoverflow.com/questions/23684727">due to a bug</a> in the Foundation
<code>DateFormatter</code> class, only 3 fractional digits are preserved (millisecond resolution) in
values sent to and received from the Postgres server.</p>

                          <a href="Structs/PostgresTimestampWithTimeZone.html" class="slightly-smaller">See more</a>
                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">struct</span> <span class="kt">PostgresTimestampWithTimeZone</span><span class="p">:</span>
    <span class="kt"><a href="Protocols/PostgresValueConvertible.html">PostgresValueConvertible</a></span><span class="p">,</span> <span class="kt">Equatable</span><span class="p">,</span> <span class="kt">Decodable</span><span class="p">,</span> <span class="kt">CustomStringConvertible</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit0A5ValueV"></a>
                      <a name="//apple_ref/swift/Struct/PostgresValue" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit0A5ValueV">PostgresValue</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>A value to be sent to or returned from the Postgres server.</p>

<p>PostgresClientKit extends standard Swift types to conform to the <code><a href="Protocols/PostgresValueConvertible.html">PostgresValueConvertible</a></code>
protocol, making it easy to convert instances of those types to <code>PostgresValue</code>.  For example:</p>
<pre class="highlight swift"><code><span class="c1">// Convert String to PostgresValue.</span>
<span class="k">let</span> <span class="nv">greeting</span> <span class="o">=</span> <span class="s">"Hello, world!"</span>
<span class="k">let</span> <span class="nv">greetingValue</span> <span class="o">=</span> <span class="n">greeting</span><span class="o">.</span><span class="n">postgresValue</span>

<span class="c1">// Convert Double to PostgresValue.</span>
<span class="k">let</span> <span class="nv">pi</span> <span class="o">=</span> <span class="mf">3.14</span>
<span class="k">let</span> <span class="nv">piValue</span> <span class="o">=</span> <span class="n">pi</span><span class="o">.</span><span class="n">postgresValue</span>

<span class="c1">// Convert an optional Int to PostgresValue.</span>
<span class="k">let</span> <span class="nv">score</span><span class="p">:</span> <span class="kt">Int</span><span class="p">?</span> <span class="o">=</span> <span class="kc">nil</span>
<span class="k">let</span> <span class="nv">scoreValue</span> <span class="o">=</span> <span class="n">score</span><span class="o">.</span><span class="n">postgresValue</span>
</code></pre>

<p>Use <code>PostgresValue</code> methods to convert <code>PostgresValue</code> instances back to standard Swift types.
These methods throw errors if the conversion fails.</p>
<pre class="highlight swift"><code><span class="k">try</span> <span class="n">greetingValue</span><span class="o">.</span><span class="nf">string</span><span class="p">()</span>      <span class="c1">// "Hello, world!"</span>
<span class="k">try</span> <span class="n">greetingValue</span><span class="o">.</span><span class="nf">int</span><span class="p">()</span>         <span class="c1">// throws PostgresError.valueConversionError</span>

<span class="k">try</span> <span class="n">piValue</span><span class="o">.</span><span class="nf">double</span><span class="p">()</span>            <span class="c1">// 3.14</span>
<span class="k">try</span> <span class="n">piValue</span><span class="o">.</span><span class="nf">string</span><span class="p">()</span>            <span class="c1">// "3.14"</span>

<span class="k">try</span> <span class="n">scoreValue</span><span class="o">.</span><span class="nf">optionalInt</span><span class="p">()</span>    <span class="c1">// nil</span>
<span class="k">try</span> <span class="n">scoreValue</span><span class="o">.</span><span class="nf">int</span><span class="p">()</span>            <span class="c1">// throws PostgresError.valueIsNil</span>
</code></pre>

                          <a href="Structs/PostgresValue.html" class="slightly-smaller">See more</a>
                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">struct</span> <span class="kt">PostgresValue</span> <span class="p">:</span> <span class="kt"><a href="Protocols/PostgresValueConvertible.html">PostgresValueConvertible</a></span><span class="p">,</span> <span class="kt">Equatable</span><span class="p">,</span> <span class="kt">CustomStringConvertible</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit3RowV"></a>
                      <a name="//apple_ref/swift/Struct/Row" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit3RowV">Row</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>A <code>Row</code> exposed by a <code><a href="Classes/Cursor.html">Cursor</a></code>.</p>

                          <a href="Structs/Row.html" class="slightly-smaller">See more</a>
                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">struct</span> <span class="kt">Row</span> <span class="p">:</span> <span class="kt">CustomStringConvertible</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                </ul>
              </div>
            </section>
          </section>
        </article>
      </div>
      <div class="nav-wrapper">
        <nav class="nav-bottom">
          <ul class="nav-groups">
            <li class="nav-group-name">
              <a href="Classes.html">Classes</a>
              <ul class="nav-group-tasks">
                <li class="nav-group-task">
                  <a href="Classes/Connection.html">Connection</a>
                </li>
                <li class="nav-group-task">
                  <a href="Classes/ConnectionPool.html">ConnectionPool</a>
                </li>
                <li class="nav-group-task">
                  <a href="Classes/ConsoleLogHandler.html">ConsoleLogHandler</a>
                </li>
                <li class="nav-group-task">
                  <a href="Classes/Cursor.html">Cursor</a>
                </li>
                <li class="nav-group-task">
                  <a href="Classes/Logger.html">Logger</a>
                </li>
                <li class="nav-group-task">
                  <a href="Classes/Statement.html">Statement</a>
                </li>
              </ul>
            </li>
            <li class="nav-group-name">
              <a href="Enums.html">Enumerations</a>
              <ul class="nav-group-tasks">
                <li class="nav-group-task">
                  <a href="Enums/Credential.html">Credential</a>
                </li>
                <li class="nav-group-task">
                  <a href="Enums/LogLevel.html">LogLevel</a>
                </li>
                <li class="nav-group-task">
                  <a href="Enums/PostgresError.html">PostgresError</a>
                </li>
              </ul>
            </li>
            <li class="nav-group-name">
              <a href="Extensions.html">Extensions</a>
              <ul class="nav-group-tasks">
                <li class="nav-group-task">
                  <a href="Extensions/Bool.html">Bool</a>
                </li>
                <li class="nav-group-task">
                  <a href="Extensions/Date.html">Date</a>
                </li>
                <li class="nav-group-task">
                  <a href="Extensions/Decimal.html">Decimal</a>
                </li>
                <li class="nav-group-task">
                  <a href="Extensions/Double.html">Double</a>
                </li>
                <li class="nav-group-task">
                  <a href="Extensions/Int.html">Int</a>
                </li>
                <li class="nav-group-task">
                  <a href="Extensions/Optional.html">Optional</a>
                </li>
                <li class="nav-group-task">
                  <a href="Extensions/String.html">String</a>
                </li>
              </ul>
            </li>
            <li class="nav-group-name">
              <a href="Protocols.html">Protocols</a>
              <ul class="nav-group-tasks">
                <li class="nav-group-task">
                  <a href="Protocols/ConnectionDelegate.html">ConnectionDelegate</a>
                </li>
                <li class="nav-group-task">
                  <a href="Protocols/LogHandler.html">LogHandler</a>
                </li>
                <li class="nav-group-task">
                  <a href="Protocols/PostgresValueConvertible.html">PostgresValueConvertible</a>
                </li>
              </ul>
            </li>
            <li class="nav-group-name">
              <a href="Structs.html">Structures</a>
              <ul class="nav-group-tasks">
                <li class="nav-group-task">
                  <a href="Structs/ColumnMetadata.html">ColumnMetadata</a>
                </li>
                <li class="nav-group-task">
                  <a href="Structs/ConnectionConfiguration.html">ConnectionConfiguration</a>
                </li>
                <li class="nav-group-task">
                  <a href="Structs/ConnectionPoolConfiguration.html">ConnectionPoolConfiguration</a>
                </li>
                <li class="nav-group-task">
                  <a href="Structs/ConnectionPoolMetrics.html">ConnectionPoolMetrics</a>
                </li>
                <li class="nav-group-task">
                  <a href="Structs/LogRecord.html">LogRecord</a>
                </li>
                <li class="nav-group-task">
                  <a href="Structs/Notice.html">Notice</a>
                </li>
                <li class="nav-group-task">
                  <a href="Structs/Postgres.html">Postgres</a>
                </li>
                <li class="nav-group-task">
                  <a href="Structs/PostgresByteA.html">PostgresByteA</a>
                </li>
                <li class="nav-group-task">
                  <a href="Structs/PostgresDate.html">PostgresDate</a>
                </li>
                <li class="nav-group-task">
                  <a href="Structs/PostgresTime.html">PostgresTime</a>
                </li>
                <li class="nav-group-task">
                  <a href="Structs/PostgresTimeWithTimeZone.html">PostgresTimeWithTimeZone</a>
                </li>
                <li class="nav-group-task">
                  <a href="Structs/PostgresTimestamp.html">PostgresTimestamp</a>
                </li>
                <li class="nav-group-task">
                  <a href="Structs/PostgresTimestampWithTimeZone.html">PostgresTimestampWithTimeZone</a>
                </li>
                <li class="nav-group-task">
                  <a href="Structs/PostgresValue.html">PostgresValue</a>
                </li>
                <li class="nav-group-task">
                  <a href="Structs/Row.html">Row</a>
                </li>
              </ul>
            </li>
          </ul>
        </nav>
      </div>
      <div class="footer-wrapper">
        <section id="footer">
          <p>Copyright 2019 David Pitfield and the PostgresClientKit contributors. Licensed under the Apache License, Version 2.0.</p>
          <p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.6</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
        </section>
      </div>
    </div>
  </body>
</div>
</html>
